package com.xiaouyudeguang.common.validate;

import com.aliyuncs.dysmsapi.model.v20170525.SendSmsRequest;
import com.aliyuncs.dysmsapi.model.v20170525.SendSmsResponse;

public interface SmsRequestValidate {

    SendSmsRequest preHandle(String tenantId, String appId, SendSmsRequest request) throws Exception;

    default SendSmsResponse postHandle(String tenantId, String appId, SendSmsResponse response) throws Exception{
        return response;
    }
}
